package com.oms.domain;

import java.sql.Timestamp;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Activity entity. @author MyEclipse Persistence Tools
 */

public class Activity implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -373080819018173895L;
	
	private Integer activityId;
	private Massorganization massorganization;
	private CommuneMemberinfo communeMemberinfo;
	private String activityName;
	private Short activityType;
	private String activityLabel;
	private Integer expectParticipantNumber;
	private Integer applicantUpperLimit;
	private Integer currentApplicantNumber;
	private String activityPlace;
	private String activityIntroDescribe;
	private String activityCommunicationQqGroup;
	private Timestamp signUpBeginTime;
	private Timestamp signUpOffTime;
	private Date activityBeginTime;
	private Date activityDealline;
	private Short activityPictureAmount;
	private String activitySummary;
	private Integer activityHits;
	private Short activityState;
	private Short currentSubstep;
	private Short prospectusNumber;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;
	private Set activitysubstepinfos = new HashSet(0);
	private Set userActivities = new HashSet(0);

	// Constructors

	/** default constructor */
	public Activity() {
	}

	/** minimal constructor */
	public Activity(Massorganization massorganization,
			CommuneMemberinfo communeMemberinfo, String activityName,
			Short activityType, String activityPlace,
			String activityIntroDescribe, Timestamp signUpBeginTime,
			Timestamp signUpOffTime, Date activityBeginTime,
			Date activityDealline, Short activityPictureAmount,
			Short activityState, Short currentSubstep, Short prospectusNumber,
			Boolean deleteTag) {
		this.massorganization = massorganization;
		this.communeMemberinfo = communeMemberinfo;
		this.activityName = activityName;
		this.activityType = activityType;
		this.activityPlace = activityPlace;
		this.activityIntroDescribe = activityIntroDescribe;
		this.signUpBeginTime = signUpBeginTime;
		this.signUpOffTime = signUpOffTime;
		this.activityBeginTime = activityBeginTime;
		this.activityDealline = activityDealline;
		this.activityPictureAmount = activityPictureAmount;
		this.activityState = activityState;
		this.currentSubstep = currentSubstep;
		this.prospectusNumber = prospectusNumber;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public Activity(Massorganization massorganization,
			CommuneMemberinfo communeMemberinfo, String activityName,
			Short activityType, String activityLabel,
			Integer expectParticipantNumber, Integer applicantUpperLimit,
			Integer currentApplicantNumber, String activityPlace,
			String activityIntroDescribe, String activityCommunicationQqGroup,
			Timestamp signUpBeginTime, Timestamp signUpOffTime,
			Date activityBeginTime, Date activityDealline,
			Short activityPictureAmount, String activitySummary,
			Integer activityHits, Short activityState, Short currentSubstep,
			Short prospectusNumber, Timestamp lastUpdateTime,
			Boolean deleteTag, String expandBar1, String expandBar2,
			Set activitysubstepinfos, Set userActivities) {
		this.massorganization = massorganization;
		this.communeMemberinfo = communeMemberinfo;
		this.activityName = activityName;
		this.activityType = activityType;
		this.activityLabel = activityLabel;
		this.expectParticipantNumber = expectParticipantNumber;
		this.applicantUpperLimit = applicantUpperLimit;
		this.currentApplicantNumber = currentApplicantNumber;
		this.activityPlace = activityPlace;
		this.activityIntroDescribe = activityIntroDescribe;
		this.activityCommunicationQqGroup = activityCommunicationQqGroup;
		this.signUpBeginTime = signUpBeginTime;
		this.signUpOffTime = signUpOffTime;
		this.activityBeginTime = activityBeginTime;
		this.activityDealline = activityDealline;
		this.activityPictureAmount = activityPictureAmount;
		this.activitySummary = activitySummary;
		this.activityHits = activityHits;
		this.activityState = activityState;
		this.currentSubstep = currentSubstep;
		this.prospectusNumber = prospectusNumber;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
		this.activitysubstepinfos = activitysubstepinfos;
		this.userActivities = userActivities;
	}

	// Property accessors

	public Integer getActivityId() {
		return this.activityId;
	}

	public void setActivityId(Integer activityId) {
		this.activityId = activityId;
	}

	public Massorganization getMassorganization() {
		return this.massorganization;
	}

	public void setMassorganization(Massorganization massorganization) {
		this.massorganization = massorganization;
	}

	public CommuneMemberinfo getCommuneMemberinfo() {
		return this.communeMemberinfo;
	}

	public void setCommuneMemberinfo(CommuneMemberinfo communeMemberinfo) {
		this.communeMemberinfo = communeMemberinfo;
	}

	public String getActivityName() {
		return this.activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public Short getActivityType() {
		return this.activityType;
	}

	public void setActivityType(Short activityType) {
		this.activityType = activityType;
	}

	public String getActivityLabel() {
		return this.activityLabel;
	}

	public void setActivityLabel(String activityLabel) {
		this.activityLabel = activityLabel;
	}

	public Integer getExpectParticipantNumber() {
		return this.expectParticipantNumber;
	}

	public void setExpectParticipantNumber(Integer expectParticipantNumber) {
		this.expectParticipantNumber = expectParticipantNumber;
	}

	public Integer getApplicantUpperLimit() {
		return this.applicantUpperLimit;
	}

	public void setApplicantUpperLimit(Integer applicantUpperLimit) {
		this.applicantUpperLimit = applicantUpperLimit;
	}

	public Integer getCurrentApplicantNumber() {
		return this.currentApplicantNumber;
	}

	public void setCurrentApplicantNumber(Integer currentApplicantNumber) {
		this.currentApplicantNumber = currentApplicantNumber;
	}

	public String getActivityPlace() {
		return this.activityPlace;
	}

	public void setActivityPlace(String activityPlace) {
		this.activityPlace = activityPlace;
	}

	public String getActivityIntroDescribe() {
		return this.activityIntroDescribe;
	}

	public void setActivityIntroDescribe(String activityIntroDescribe) {
		this.activityIntroDescribe = activityIntroDescribe;
	}

	public String getActivityCommunicationQqGroup() {
		return this.activityCommunicationQqGroup;
	}

	public void setActivityCommunicationQqGroup(
			String activityCommunicationQqGroup) {
		this.activityCommunicationQqGroup = activityCommunicationQqGroup;
	}

	public Timestamp getSignUpBeginTime() {
		return this.signUpBeginTime;
	}

	public void setSignUpBeginTime(Timestamp signUpBeginTime) {
		this.signUpBeginTime = signUpBeginTime;
	}

	public Timestamp getSignUpOffTime() {
		return this.signUpOffTime;
	}

	public void setSignUpOffTime(Timestamp signUpOffTime) {
		this.signUpOffTime = signUpOffTime;
	}

	public Date getActivityBeginTime() {
		return this.activityBeginTime;
	}

	public void setActivityBeginTime(Date activityBeginTime) {
		this.activityBeginTime = activityBeginTime;
	}

	public Date getActivityDealline() {
		return this.activityDealline;
	}

	public void setActivityDealline(Date activityDealline) {
		this.activityDealline = activityDealline;
	}

	public Short getActivityPictureAmount() {
		return this.activityPictureAmount;
	}

	public void setActivityPictureAmount(Short activityPictureAmount) {
		this.activityPictureAmount = activityPictureAmount;
	}

	public String getActivitySummary() {
		return this.activitySummary;
	}

	public void setActivitySummary(String activitySummary) {
		this.activitySummary = activitySummary;
	}

	public Integer getActivityHits() {
		return this.activityHits;
	}

	public void setActivityHits(Integer activityHits) {
		this.activityHits = activityHits;
	}

	public Short getActivityState() {
		return this.activityState;
	}

	public void setActivityState(Short activityState) {
		this.activityState = activityState;
	}

	public Short getCurrentSubstep() {
		return this.currentSubstep;
	}

	public void setCurrentSubstep(Short currentSubstep) {
		this.currentSubstep = currentSubstep;
	}

	public Short getProspectusNumber() {
		return this.prospectusNumber;
	}

	public void setProspectusNumber(Short prospectusNumber) {
		this.prospectusNumber = prospectusNumber;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

	public Set getActivitysubstepinfos() {
		return this.activitysubstepinfos;
	}

	public void setActivitysubstepinfos(Set activitysubstepinfos) {
		this.activitysubstepinfos = activitysubstepinfos;
	}

	public Set getUserActivities() {
		return this.userActivities;
	}

	public void setUserActivities(Set userActivities) {
		this.userActivities = userActivities;
	}

}